package com.ruoyi.retirement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章二级分类对象 retirement_classify_two
 * 
 * @author 曹旭
 * @date 2025-09-01
 */
public class RetirementClassifyTwo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 一级分类id */
    @Excel(name = "一级分类id")
    private Long levelOneId;

    /** 二级分类名称 */
    @Excel(name = "二级分类名称")
    private String name;

    /** 备用字段 */
    @Excel(name = "备用字段")
    private String levelFlag;

    /** 删除状态 1是 0否 */
    @Excel(name = "删除状态 1是 0否")
    private String status;

    /** 排序 */
    @Excel(name = "排序")
    private String sort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setLevelOneId(Long levelOneId) 
    {
        this.levelOneId = levelOneId;
    }

    public Long getLevelOneId() 
    {
        return levelOneId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setLevelFlag(String levelFlag) 
    {
        this.levelFlag = levelFlag;
    }

    public String getLevelFlag() 
    {
        return levelFlag;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setSort(String sort) 
    {
        this.sort = sort;
    }

    public String getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("levelOneId", getLevelOneId())
            .append("name", getName())
            .append("levelFlag", getLevelFlag())
            .append("status", getStatus())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
